package com.glsc.ngateway.common.api.ldap.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Transient;

/**
 * @Author: libj
 * @Date: 2021/10/28
 * @Desc: 部门信息表，数据采集自EHR
 */

@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
public class LdapEhrDeptDto {
    protected Integer depid;
    protected String dtitle;
    protected String comptitle;
    protected Integer adminid;
    protected String atitle;
    protected String depgrade;
    protected String leader;
    protected String lname;
    protected Integer oaDeptId;
    protected Integer superOaDeptId;
    protected Integer superDeptId;
    private String canceled;
    @Transient
    protected String leaderEmail;
    @Transient
    protected LdapEhrDeptDto parentDeptInfo;

}
